package com.jinzhi.jzweb.pojo.ModuleConfig;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author JingChangTian
 * @since 2023-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("jz_jinzhuan_disposition_topic")
@ApiModel(value="JzJinzhuanDispositionTopic对象", description="")
public class JzJinzhuanDispositionTopic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题目（实操任务）id")
    @TableId
    private Long id;

    @ApiModelProperty(value = "题目（实操任务）名")
    @TableField("topic_name")
    private String topicName;

    @ApiModelProperty(value = "分值(对应的实操题目分值占比)")
    @TableField("score")
    private Long score;

    @ApiModelProperty(value = "对应的模块id")
    @TableField("module_id")
    private Long moduleId;

    @ApiModelProperty(value = "创建人id")
    @TableField("creater_id")
    private Long createrId;

    @ApiModelProperty(value = "创建时间")
    @TableField("creater_date")
    private Date createrDate;

    @ApiModelProperty(value = "是否逻辑删除:默认为0")
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "修改人id")
    @TableField("update_id")
    private Long updateId;

    @ApiModelProperty(value = "修改时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "业务状态:默认为0")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "题目描述（细则名称）")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "赛场类型")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "裁判id")
    @TableField("referee_id")
    private  String refereeId;

    @ApiModelProperty(value = "细则id")
    @TableField("detail_id")
    private Long detailId;

    @ApiModelProperty(value = "具体细则内容")
    @TableField("detail_content")
    private String detailContent;



    @ApiModelProperty(value = "所属模块")
    @TableField(exist = false)
    private JzJinzhuanDispositionModule dispositionModule;
}
